<?php
class specialityviewModel extends ViewModel
{
	protected $viewFields = array(
		'speciality'=>array('title'=>'name','pid'),
		'schoolspeciality'=>array('id','schoolid','updatetime','content','_on'=>'speciality.id = schoolspeciality.specialityid')
			);
}